package com.sfac.springboot.modules.test.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author jzq
 * @date 2022/8/17 15:47
 */
@SuppressWarnings({"all"})
@Data
public class Country {

    private Integer countryId;

    private String countryName;

    private String localCountryName;

    private String countryCode;

    private String countryCode2;

    private String continent;

    private String region;

    private Float surfaceArea;

    private Integer indepYear;

    private Integer population;

    private Float lifeExpectancy;

    private Float gnp;

    private String governmentForm;

    private String headOfState;

    private Integer capital;

    private String timeZone;

    private Integer languageId;

    private Integer currencyId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dateModified;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dateCreated;

    private List<City> cities;

}
